package com.bugreport.test.utils;

import org.apache.log4j.Logger;

import com.bugreport.model.Issue;
import com.bugreport.trackers.BugTrackerConnector;
import com.bugreport.utils.BugReportException;

public class BugTrackerTestConnector2 implements BugTrackerConnector {

	private static final Logger logger = Logger.getLogger(BugTrackerTestConnector2.class);

	public static final String ISSUE_ID = "ID2";

	public static BugTrackerTestConnector2 load(BugTrackerTestConfiguration2 config) throws BugReportException {
		return new BugTrackerTestConnector2();
	}

	public String reportIssue(Issue issue) throws BugReportException {
		logger.debug("Reporting issue using Test Connector 2");
		return ISSUE_ID;
	}
}
